libostree: Change synchronous fetching API to return a stream
authorColin Walters <walters@verbum.org>
Sat, 31 Aug 2013 15:22:55 +0000 (11:22 -0400)
committerColin Walters <walters@verbum.org>
Mon, 2 Sep 2013 18:48:21 +0000 (14:48 -0400)
commit597da6ca6bdddd0c50aa31f1faf8749ebcae144c
treea4374ca7f5121a360e79f1804c0e8ad03abd0166
parent95a78542e9a2cb081719d3a2884e3d3e71e83e55
libostree: Change synchronous fetching API to return a stream

There's not a good reason to write small things such as repo/config to
the filesystem, only to read them back in again.  Change the
non-partial API to just return a stream, then read it into a memory
buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=707157
src/libostree/ostree-fetcher.c
src/libostree/ostree-fetcher.h
src/libostree/ostree-repo-pull.c